package com.blog.admin.mapper;


import com.blog.admin.vo.SysUserInfomationVO;
import com.blog.admin.vo.SysUserVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysUserMapper {
    int  insertUser(SysUserVO sysUserVO);
    int  insertInfomationVO(SysUserInfomationVO sysUserInfomationVO);
    SysUserVO getUserByUsername(@Param("username") String username);
    List<SysUserVO> getUserList();
    int updateUser(SysUserVO sysUserVO);
    int updateUserType(SysUserVO sysUserVO);
    int updateUserInfomation(SysUserInfomationVO sysUserInfomationVO);
    int deleteUserById(String id);
    int deleteUserInfomationById(String id);
}
